/****
创建一个简单nodejs的服务器
**/

var http=require('http');

http.createServer(function(request,response){
  //返回表示200
  response.writeHead(200,{'Content-Type':'text/plain'});
  response.end('Hello');
}).listen(8888);

console.log('Server running at http://127.0.0.1:8888/');
